<?php

$config = array(
		'users_form' => array(
				array(
						'field' => 'username',
						'label' => 'Username',
						'rules' => 'required|xss_clean'
				),
				array(
						'field' => 'firstname',
						'label' => 'Firstname',
						'rules' => 'required|xss_clean|alpha_dash_space'
				),
				array(
						'field' => 'middlename',
						'label' => 'Middlename',
						'rules' => 'required|xss_clean|alpha_dash_space'
				),
				array(
						'field' => 'lastname',
						'label' => 'Lastname',
						'rules' => 'required|xss_clean|alpha_dash_space'
				),
		'login_manager' => array(
						array(
								'field' => 'username',
								'label' => 'Username',
								'rules' => 'required|xss_clean'
						),
						array(
								'field' => 'password',
								'label' => 'password',
								'rules' => 'required|xss_clean'
						)
				)
		)
);
